<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="sp" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="s" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">
<title>网站首页</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet"
	href="${pageContext.request.contextPath }/layui/css/layui.css"
	media="all">
<style type="text/css">
td img {
	display: block;
}

td img {
	display: block;
}

td img {
	display: block;
}

td img {
	display: block;
}

td img {
	display: block;
}

td img {
	display: block;
}

.STYLE4 {
	font-size: 14px
}

td img {
	display: block;
}
</style>
<%-- <script type="text/javascript"
	src="${pageContext.request.contextPath }/layui/lay/modules/layer.js"></script> --%>

<script type="text/javascript"
	src="${pageContext.request.contextPath }/layui/layui.js"></script>
	
<script type="text/javascript"
	src="${pageContext.request.contextPath }/layui/lay/modules/jquery.js"></script>
	
<script type="text/javascript">
	layui.use(['jquery', 'layer'], function() {
		var layer = layui.layer;
		var $ = layui.jquery
		$(function() {
			$("#submit").click(function() {
				if ($("#name").val() == "") {
					layer.msg('请输入用户名！！！', {
						time : 1500
					});
					return false;
				}
				if ($("#password").val() == "") {
					layer.msg('请输入密码！！！', {
						time : 1500
					});
					return false;
				}
				if ($("#password").val() != $("#againPassword").val()) {
					layer.msg('输入的两次密码不一致，请重新输入！！！', {
						time : 1500
					});
					return false;
				}
				if ($("#touchWay").val() == "") {
					layer.msg('请输入电话号码！！！', {
						time : 1500
					});
					return false;
				}
				if ($("#statusCard").val() == "") {
					layer.msg('请输入身份证号码！！！', {
						time : 1500
					});
					return false;
				}
				return true;
			});
		});
	});
</script>
</head>
<body>
	<table width="788" border="0" align="center">
		<tr>
			<td height="158" colspan="2" valign="top">
				<table border="0" cellpadding="0" cellspacing="0" width="780">
					<tr>
						<td colspan="11"><img name="indexLOGO_r1_c1"
							src="imags/indexLOGO_r1_c1.jpg" width="780" height="178"
							border="0" id="indexLOGO_r1_c1" alt="" /></td>
						<td><img src="imags/spacer.gif" width="1" height="178"
							border="0" alt="" /></td>
					</tr>
					<tr>
						<td rowspan="2"><img name="indexLOGO_r2_c1"
							src="imags/indexLOGO_r2_c1.jpg" width="198" height="22"
							border="0" id="indexLOGO_r2_c1" alt="" /></td>
						<td><a href="index.jsp" target="_top"> <img
								name="indexLOGO_r2_c2" src="imags/indexLOGO_r2_c2.jpg"
								width="69" height="17" border="0" id="indexLOGO_r2_c2" alt="" />
						</a></td>
						<td rowspan="2"><img name="indexLOGO_r2_c3"
							src="imags/indexLOGO_r2_c3.jpg" width="44" height="22" border="0"
							id="indexLOGO_r2_c3" alt="" /></td>
						<td><a href="ticketLook" target="_top"> <img
								name="indexLOGO_r2_c4" src="imags/indexLOGO_r2_c4.jpg"
								width="70" height="17" border="0" id="indexLOGO_r2_c4" alt="" />
						</a></td>
						<td rowspan="2"><img name="indexLOGO_r2_c5"
							src="imags/indexLOGO_r2_c5.jpg" width="57" height="22" border="0"
							id="indexLOGO_r2_c5" alt="" /></td>

						<td><a href="bookTicket" target="_top"><img
								name="indexLOGO_r2_c6" src="imags/indexLOGO_r2_c6.jpg"
								width="72" height="17" border="0" id="indexLOGO_r2_c6" alt="" /></a></td>

						<td rowspan="2"><img name="indexLOGO_r2_c7"
							src="imags/indexLOGO_r2_c7.jpg" width="55" height="22" border="0"
							id="indexLOGO_r2_c7" alt="" /></td>

						<td><a href="tuiPiao" target="_top"><img
								name="indexLOGO_r2_c8" src="imags/indexLOGO_r2_c8.jpg"
								width="72" height="17" border="0" id="indexLOGO_r2_c8" alt="" /></a></td>

						<td rowspan="2"><img name="indexLOGO_r2_c9"
							src="imags/indexLOGO_r2_c9.jpg" width="48" height="22" border="0"
							id="indexLOGO_r2_c9" alt="" /></td>

						<td><a href="leaveMessage" target="_top"> <img
								name="indexLOGO_r2_c10" src="imags/indexLOGO_r2_c10.jpg"
								width="70" height="17" border="0" id="indexLOGO_r2_c10" alt="" /></a></td>
						<td rowspan="2"><img name="indexLOGO_r2_c11"
							src="imags/indexLOGO_r2_c11.jpg" width="25" height="22"
							border="0" id="indexLOGO_r2_c11" alt="" /></td>
						<td><img src="imags/spacer.gif" width="1" height="17"
							border="0" alt="" /></td>
					</tr>
					<tr>
						<td><img name="indexLOGO_r3_c2"
							src="imags/indexLOGO_r3_c2.jpg" width="69" height="5" border="0"
							id="indexLOGO_r3_c2" alt="" /></td>
						<td><img name="indexLOGO_r3_c4"
							src="imags/indexLOGO_r3_c4.jpg" width="70" height="5" border="0"
							id="indexLOGO_r3_c4" alt="" /></td>
						<td><img name="indexLOGO_r3_c6"
							src="imags/indexLOGO_r3_c6.jpg" width="72" height="5" border="0"
							id="indexLOGO_r3_c6" alt="" /></td>
						<td><img name="indexLOGO_r3_c8"
							src="imags/indexLOGO_r3_c8.jpg" width="72" height="5" border="0"
							id="indexLOGO_r3_c8" alt="" /></td>
						<td><img name="indexLOGO_r3_c10"
							src="imags/indexLOGO_r3_c10.jpg" width="70" height="5" border="0"
							id="indexLOGO_r3_c10" alt="" /></td>
						<td><img src="imags/spacer.gif" width="1" height="5"
							border="0" alt="" /></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td height="51" colspan="3" valign="top"><table width="723"
					height="49" border="0">
					<tr>
						<td width="108" height="45">&nbsp;</td>
						<td width="65" valign="bottom" bgcolor="#FFFFFF"><span
							class="STYLE5">会员注册</span></td>
						<td width="536" valign="bottom">&nbsp;</td>
					</tr>
				</table></td>
		</tr>
		<tr>
			<td height="34" colspan="3" valign="top"><hr color="#FF0000"></td>
		</tr>
		<tr>
			<td width="165" height="442" valign="top">&nbsp;</td>
			<td width="476" valign="top"><sp:form name="form1" method="post"
					action="${pageContext.request.contextPath }/saveClient"
					modelAttribute="client" style="width: 100%">
					<table width="460" border="0">
						<tr>
							<td height="48" colspan="2"><div align="left">请填写下列注册信息</div></td>
						</tr>
						<tr>
							<td align="left"><input type="text" name="name" id="name"
								placeholder="请输入用户名" class="layui-input" autocomplete="off"
								style="width: 210px; height: 40px"><br /></td>
						</tr>
						<tr>
							<td align="left"><input type="password" name="password"
								placeholder="请输入密码" id="password" class="layui-input"
								style="width: 210px; height: 40px"><br /></td>
						</tr>
						<tr>
							<td align="left"><input type="password" id="againPassword"
								name="againPassword" class="layui-input" placeholder="请再次确认密码"
								style="width: 210px; height: 40px"><br /></td>
						</tr>
						<tr>
							<td align="left"><input type="text" name="touchWay"
								placeholder="请输入电话号码" class="layui-input" autocomplete="off"
								id="touchWay" style="width: 210px; height: 40px"><br />
							</td>
						</tr>
						<tr>
							<td align="left"><input type="text" name="statusCard"
								placeholder="请输入身份证号码" class="layui-input" autocomplete="off"
								id="statusCard" style="width: 210px; height: 40px"><br />
							</td>
						</tr>
						<tr>
							<td align="left">
								<button name="submit" id="submit"
									class="layui-btn layui-btn-primary layui-btn-radius">立即注册</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								<button type="button" name="clear" id="clear"
									class="layui-btn layui-btn-primary layui-btn-radius"
									onClick="return reset()">重置</button>
							</td>
						</tr>
						<!-- <tr>
							<td height="76" colspan="2" align="center">
								<blockquote>
									<blockquote>
										<p>（注：以上有 '*' 的为必填 信息！）</p>
									</blockquote>
								</blockquote>
							</td>
						</tr> -->
					</table>
				</sp:form></td>
			<td width="134" valign="top"><blockquote>&nbsp;</blockquote></td>
		</tr>
		<tr>
			<td height="41" colspan="3" align="center" valign="top"><hr
					size="2" color="#CC6666">
				<p align="center">
					<span class="STYLE4">华育国际J27班第四小组版权所有 Copyright © 2017-2020.
						All Rights Reserved. </span>
				</p></td>
		</tr>
		<tr>
			<td height="23" colspan="3" valign="top">
				<hr size="15" color="#FF3333">
			</td>
		</tr>
	</table>
	<br>
</body>
</html>
